import request from '@/utils/request'

// 查询单元详细数据
export function listBuildUnit(query) {
  return request({
    url: '/dataManagement/listBuildUnit',
    method: 'post',
    data: query
  })
}

// 导出单元详细数据
export function listBuildUnitExport(query) {
  return request({
    url: '/dataManagement/listBuildUnitExport',
    method: 'post',
    data: query
  })
}
// 查询住户详细数据
export function listHousehold(query) {
  return request({
    url: '/dataManagement/listHousehold',
    method: 'post',
    data: query
  })
}
// 导出住户详细数据
export function listHouseholdExport(query) {
  return request({
    url: '/dataManagement/listHouseholdExport',
    method: 'post',
    data: query
  })
}
// 查询楼栋详细数据
export function listBuild(query) {
  return request({
    url: '/dataManagement/listBuild',
    method: 'post',
    data: query
  })
}
// 导出楼栋详细数据
export function listBuildExport(query) {
  return request({
    url: '/dataManagement/listBuildExport',
    method: 'post',
    data: query
  })
}
// 查询单元平均数据
export function listAvgBuildUnit(query) {
  return request({
    url: '/dataManagement/listAvgBuildUnit',
    method: 'post',
    data: query
  })
}
// 查询住户平均数据
export function listAvgHousehold(query) {
  return request({
    url: '/dataManagement/listAvgHousehold',
    method: 'post',
    data: query
  })
}
// 查询楼栋平均数据
export function listAvgBuild(query) {
  return request({
    url: '/dataManagement/listAvgBuild',
    method: 'post',
    data: query
  })
}
